package com.yitiao.multithread;

public class ActiveThreadExample {
    public static void main(String[] args) {
//        System.out.println();
//        Thread.currentThread().getThreadGroup().list();
        while (Thread.activeCount()>1){
            Thread.yield();
        }
        System.out.println(1);
    }
}
